package com.wisdom.ui;


import android.app.Activity;
import android.content.Context;
import android.os.Bundle;
import android.util.AttributeSet;
import android.widget.ImageView;
import android.widget.TabHost;
import android.widget.TabWidget;

public class AnimationTabHost extends TabHost {
	
	private boolean isOpenAnimation;
	private int mTabCount;
	public AnimationTabHost(Context context, AttributeSet attrs) {
		super(context, attrs);
		isOpenAnimation=false;
	}
	public void setOpenAnimation(boolean isOpenAnimation){
		this.isOpenAnimation=isOpenAnimation;
	}
	public boolean setTabAnimation(int[] animationResIDs){
		return false;
	}
	public int getTabCount(){
		return mTabCount;
	}
	public void addTab(TabSpec tabSpec){
		mTabCount++;
		super.addTab(tabSpec);
	}
	
	public void setCurrentTab(int index){
		if(null!=getCurrentView()){
			if(isOpenAnimation){
				
			}
		}
		super.setCurrentTab(index);
		if(isOpenAnimation){
			
		}
	}
	
}
